import sys
import os

from paste.deploy import appconfig
conf = appconfig('config:' + os.environ['MTP_CONFIG'])
from mtp.config.environment import load_environment
load_environment(conf.global_conf, conf.local_conf)

import logging.config
logging.config.fileConfig(os.environ['MTP_CONFIG'])

from model import *
